package org.atlas.framework;

import org.atlas.framework.helper.*;
import org.atlas.framework.util.ClassUtil;

/**
 * 集中加载 (主要是静态代码块)
 *
 * Created by suxinjie on 2017/3/5.
 */
public class HelperLoader {

    public static void init() {
        Class<?>[] classList = {
                ConfigHelper.class,
                ClassHelper.class,
                BeanHelper.class,
                IocHelper.class,
                ControllerHelper.class
        };

        for (Class<?> cls : classList) {
            ClassUtil.loadClass(cls.getName(), true);
        }
    }
}
